package com.example.mywechatprogram.entity;

public class Response {
    public static int SERVICE_RUN_SUCCESSFULLY=200;
    public static int SERVICE_RUN_FIELD=500;
    private Integer code;
    private Object data;
    private String message;
    public Response(Integer code,Object data,String message){
        this.code=code;
        this.data=data;
        this.message=message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
